<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../src/lib/bootstrap.min.css" />


    <style>
        body {
            background-color: white;
            padding: 20px;
        }
    </style>

</head>

<body>

    <div v-cloak class="container-fluid clearfix" id="app">

        <div class="alert alert-danger mt_20" role="alert">组件本身并无退出和登陆功能</div>

        <div class="alert alert-danger mt_20" role="alert">通用混入(mixin),注入方法,用以替换 组件继承方案</div>

        <div class="alert alert-danger mt_20" role="alert">该属性未在该组件上显示声明:{{needLogin}}</div>

        <button class="btn btn-success" v-on:click.stop="loginOut">退出</button>

        <button class="btn btn-success" v-on:click.stop="login">登陆</button>




    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../src/lib/vue-router.js"></script>
    <script src="../boot.js"></script>

    <script>
        $(function () {
            seajs.use('./10_mixins.js');
        })
    </script>

</body>

</html>